package org.demo;

import org.agent.premain.Agent;

import java.util.Arrays;

public class AgentMainTest {

    public static void main(String[] args) throws Exception {
        System.out.println("main start");
        System.out.println("object size:"
                + Agent.instrumentation.getObjectSize(Arrays.asList("123213","fdafdfsf")));
        try {
            Thread.sleep(6000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        System.out.println("main end");
    }
}
